package com.xhwl.logistics.dao.mapper.logistics;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xhwl.logistics.entity.logistics.VisitorRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xhwl.logistics.query.VisitorRecordQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 物流车预约 Mapper 接口
 * </p>
 *
 * @author lin.yang
 * @since 2023-12-06
 */
public interface VisitorRecordMapper extends BaseMapper<VisitorRecord> {

    List<VisitorRecord> queryVisitorRecord(VisitorRecordQuery query);

    Page<VisitorRecord> pageVisitorRecordRequest(@Param("query") VisitorRecordQuery query , Page page);
}
